package com.topmap.service;

import com.topmap.service.model.FeiyiModel;

import java.util.List;

/**
 * @Author: MaHuadong
 * @Date: 2019/7/3 11:11
 * @Version 1.0
 */
public interface FeiyiService {

    //通过非遗id查询该非遗的全部信息

    FeiyiModel getFeiyiById(Integer id);


    //通过非遗名称查询该非遗的全部信息
    FeiyiModel getFeiyiByTitle(String title);


    //通过非遗类型查询该非遗的全部信息
    List<FeiyiModel> getFeiyiByType(String type);


    //查询所有非遗信息
    List<FeiyiModel> listFeiyi();


}
